
{extend name="common@bootstrap" /}
{block name="body_content"}
<div class="btn-group">
    <a href="{:url('create')}" class="btn btn-default">添加</a>
</div>
<table class="table" data-auto-date="2019/06/26" data-auto-time="22:34">
  <caption>RBAC节点</caption>
  <thead>
    <tr>
        <th>#</th>

        <th>ID</th>

        <th>分层</th>

        <th>创建时间</th>

        <th>修改时间</th>

        <th>上级</th>

        <th>顶级</th>

        <th>排序</th>

        <th>节点名</th>

        <th>节点标题</th>

        <th>树形描述</th>

        <th>节点描述</th>

        <th>操作</th>
    </tr>
  </thead>
  <tbody>
  {volist name="list" id="row"}
    <tr>
        <td><input type="checkbox" name="ids[]" value="{$row['id']}"></td>

        <td>{$row['id']|default=""}</td>

        <td>{$row['level']|default="0"}</td>

        <td>{$row['create_ts']|default="0"}</td>

        <td>{$row['update_ts']|default="0"}</td>

        <td>{$row['pid']|default="0"}</td>

        <td>{$row['tid']|default="0"}</td>

        <td>{$row['sort']|default="100"}</td>

        <td>{$row['name']|default=""}</td>

        <td>{$row['title']|default=""}</td>

        <td>{$row['tree']|default=""}</td>

        <td>{$row['remark']|default=""}</td>

        <td><a href="{:url('update')}?id={$row['id']}">编辑</a> <a href="{:url('delete')}?id={$row['id']}">删除</a></td>
    </tr>
  {/volist}
  </tbody>
</table>
<div class="text-center">
{$pagination}
</div>
{/block}
